package com.qy;

import com.qy.dao.CheckStationDao;
import com.qy.dao.DriveLineDao;
import com.qy.dao.DriveRecordDao;
import com.qy.dao.DriverFinanceDao;
import com.qy.dao.DriverInfoDao;
import com.qy.dao.OrderDriverDao;
import com.qy.dao.OrderInfoDao;
import com.qy.dao.PayInfoDao;
import com.qy.dao.SystemParamDao;
import com.qy.dao.UserInfoDao;
import com.qy.dao.VoucherDao;
import com.qy.dao.VoucherInfoDao;
import com.qy.dao.impl.CheckStationDaoImpl;
import com.qy.dao.impl.DriveLineDaoImpl;
import com.qy.dao.impl.DriveRecordDaoImpl;
import com.qy.dao.impl.DriverFinanceDaoImpl;
import com.qy.dao.impl.DriverInfoDaoImpl;
import com.qy.dao.impl.OrderDriverDaoImpl;
import com.qy.dao.impl.OrderInfoDaoImpl;
import com.qy.dao.impl.PayInfoDaoImpl;
import com.qy.dao.impl.SystemParamDaoImpl;
import com.qy.dao.impl.UserInfoDaoImpl;
import com.qy.dao.impl.VoucherDaoImpl;
import com.qy.dao.impl.VoucherInfoDaoImpl;

/**
 * 
 * @author zhangwl
 *         2014年10月15日
 */
public class DaoMgr {
		//用户dao
		private static UserInfoDao userInfoDao = new UserInfoDaoImpl();
		//司机dao
		private static DriverInfoDao driverInfoDao = new DriverInfoDaoImpl();
		//系统参数
		private static SystemParamDao systemParamDao = new SystemParamDaoImpl();
		//系统优惠券
		private static VoucherDao voucherDao = new VoucherDaoImpl();
		//用戶優惠券
		private static VoucherInfoDao userVoucherDao = new VoucherInfoDaoImpl();
		//订单信息表
		private static OrderInfoDao orderInfoDao = new OrderInfoDaoImpl();
		//司机服务单
		private static OrderDriverDao orderDriverDao = new OrderDriverDaoImpl();
		//行驶线路图
		private static DriveLineDao driveLineDao = new DriveLineDaoImpl();
		//支付信息
		private static PayInfoDao payInfoDao = new PayInfoDaoImpl();
		//车检站
		private static CheckStationDao checkStationDao = new CheckStationDaoImpl();
		//服务行车记录
		private static DriveRecordDao driveRecordDao = new DriveRecordDaoImpl();
		//提现信息
		private static DriverFinanceDao driverFinanceDao = new DriverFinanceDaoImpl();
		public static UserInfoDao getUserInfoDao() {
			return userInfoDao;
		}

		public static DriverInfoDao getDriverInfoDao() {
			return driverInfoDao;
		}
		
		public static SystemParamDao getSystemParamDao() {
			return systemParamDao;
		}
	
		public static VoucherDao getVoucherDao() {
			return voucherDao;
		}
		public static VoucherInfoDao getUserVoucherDao() {
			return userVoucherDao;
		}
		public static OrderInfoDao getOrderInfoDao() {
		    return orderInfoDao;
		}
		public static OrderDriverDao getOrderDriverDao() {
		    return orderDriverDao;
		}
		public static DriveLineDao getDriveLineDao() {
		    return driveLineDao;
		}
		
		public static PayInfoDao getPayInfoDao() {
		    return payInfoDao;
		}
		
		public static CheckStationDao getCheckStationDao() {
		    return checkStationDao;
		}
		public static DriveRecordDao getDriveRecordDao() {
		    return driveRecordDao;
		}
		public static DriverFinanceDao getDriverFinanceDao() {
		    return driverFinanceDao;
		}
}